import {defineStore} from "pinia"

export const usePayOrder = defineStore('payOrder',{
    state:()=>{
        return {
            seatData:[],
            comData:{}
        }
    },
    actions:{
        payOrder(order){
            this.seatData=order.seatData;
            this.comData=order.comData;
        }
    },
    persist: true
})